import React from "react";
import ReactDOM from "react-dom";
import "./index.scss";
import App from "./App";
// import store from "./store";
import "antd/dist/antd.css"; // antd组件库样式
import store from "@/store/index";
import { Provider } from "react-redux";
// 中文设置：
import { ConfigProvider } from "antd";
import "moment/locale/zh-cn";
import locale from "antd/lib/locale/zh_CN";
ReactDOM.render(
  <Provider store={store}>
    <ConfigProvider locale={locale}>
      <App />
    </ConfigProvider>
  </Provider>,

  document.getElementById("root")
);
